package company;
public class Actor {
    int life=3;
    int power=0;
    public void attack(){
        this.power-=1;
    }
    public void  denfense(){

    }
    public void xuqi(){
        this.power+=1;
    }
    public boolean wood(){
        this.life-=1;
        if(this.life==0){
            return false;
        }
        return true;
    }
}
